<div class="bjui-pageHeader">
  <form id="pagerForm" data-toggle="ajaxsearch" action="{:U('manageTemplate')}" method="post">
    <input type="hidden" name="pageSize" value="${model.pageSize}">
    <input type="hidden" name="pageCurrent" value="${model.pageCurrent}">
    <input type="hidden" name="orderField" value="${param.orderField}">
    <input type="hidden" name="orderDirection" value="${param.orderDirection}">
  </form>
  
  <a href="{:U('createTemplate')}" class="btn btn-green" data-toggle="dialog" data-width="1000" data-height="800" data-id="dialog-normal" data-mask="true" data-title="{$arr.title}-编辑">添加</a>
</div>
<div class="bjui-pageContent tableContent">
  <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
    <thead>
      <tr>
        <th data-order-field="operation">模板名称</th>
        <th data-order-field="name">模板备注</th>
        <th data-order-field="profession">创建时间</th>
        
        <th width="26"><input type="checkbox" class="checkboxCtrl" data-group="ids" data-toggle="icheck"></th>
        <th width="100">操作</th>
      </tr>
    </thead>
    <tbody>
      <notempty name="_list">
      
      <volist name="_list" id="vo">
        <tr data-id="{$vo.uid}">
          <td>{$vo.tp_name}</td>
          <td>{$vo.tp_remark}</td>
          <td>{$vo.add_time|time_format}</td>
          <td><input type="checkbox" name="ids" data-toggle="icheck" value="1"></td>
          <td><a href="{:U('BuildOrder/editTemplate?id='.$vo['id'])}" class="btn btn-green" data-toggle="dialog" data-width="1000" data-height="800" data-id="dialog-normal" data-mask="true" data-title="{$vo.tp_name}-编辑">编辑</a> <a href="{:U('BuildOrder/delTemplate?id='.$vo['id'])}" class="btn btn-red" data-toggle="doajax" data-confirm-msg="确定要删除该行信息吗？">删</a> </td>
        </tr>
      </volist>
      <else/>
    <td colspan="9" class="text-center"> aOh! 暂时还没有用户! </td>
      </notempty>
      </tbody>
  </table>
</div>
<div class="bjui-pageFooter">
  <div class="pages"> <span>每页&nbsp;</span>
    <div class="selectPagesize">
      <select data-toggle="selectpicker" data-toggle-change="changepagesize">
        <option value="30">30</option>
        <option value="60">60</option>
        <option value="120">120</option>
        <option value="150">150</option>
      </select>
    </div>
    <span>&nbsp;条，共 600 条</span> </div>
  <div class="pagination-box" data-toggle="pagination" data-total="11" data-page-size="10" data-page-current="2"> </div>
</div>
</div>
